<!DOCTYPE html>
<html lang="en">
<head>
    #include("../include/header.html")
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-sm-3"></div>
        <div class="col-sm-6">
            <form class="form-horizontal" id="inputForm" action="${pathPrefix}/form" method="post">
                <input type="hidden" name="id" value="${data.id}"/>

                <div class="form-group">
                    <label for="username" class="col-sm-2 control-label">用户名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="username" name="username"
                               value="${data.username}" required/>
                    </div>
                </div>

                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" id="password" name="password"
                               value="${data.password}" required/>
                    </div>
                </div>

                <div class="form-group">
                    <label for="password2" class="col-sm-2 control-label">确认密码</label>
                    <div class="col-sm-10">
                        <input type="password" class="form-control" id="password2" name="password2"
                               value="${data.password2}" required/>
                    </div>
                </div>

                <div class="form-group">
                    <label for="locked" class="col-sm-2 control-label">locked</label>
                    <div class="col-sm-10">
                        <select id="locked" name="locked" class="form-control">
                            <option value="1" #if(data.locked== 1 ) selected #end>锁定</option>
                            <option value="0" #if(data.locked== 0 ) selected #end>未锁定</option>
                        </select>
                    </div>
                </div>
            </form>
        </div>
        <div class="col-sm-3"></div>
    </div>
</div>
#include("../include/footer.html")
</body>

</html>